import random
rand=random.randint(1,100)
print(rand)
i=0
while i<=10:
    num=eval(input('输入你猜想的数字：'))
    if num==rand:
        print('恭喜你！答对了')
        break
    elif num>rand:
        print('大了')
    else:
        print('小了')
    i+=1
if i<3:
    print('真厉害！')
elif 3<i<8:
    print('一般啦！')
else:
    print('10次均猜错了！')